﻿using GroupMeal.Members;
using System;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;

namespace GroupMeal.Groups
{
    public class JoinApplication : FullAuditedEntity<Guid>, IMultiTenant
    {
        public virtual Guid? TenantId
        {
            get;set;
        }

        /// <summary>
        /// 会员ID
        /// </summary>
        public virtual Guid MemberId
        {
            get;set;
        }

        /// <summary>
        /// 会员
        /// </summary>
        public virtual Member Member
        {
            get;set;
        }

        /// <summary>
        /// 组织ID
        /// </summary>
        public virtual Guid GroupId
        {
            get;set;
        }

        /// <summary>
        /// 组织
        /// </summary>
        public virtual Group Group
        {
            get;set;
        }

        /// <summary>
        /// 申请状态
        /// </summary>
        public virtual ApplicationStatus Status
        {
            get;set;
        }
    }
}
